package cn.IT.service;

import java.io.Serializable;
import java.util.List;

import cn.IT.domain.Knowledge;
import cn.IT.domain.Type;
import cn.IT.domain.User;

public interface IKnowledgeService {

    public List<Knowledge> getAllKnowledgeBySearchContent(String searchContent);
    
    public List<Knowledge> getAllKnowledgeByAuthor(User user);
    
    public List<Knowledge> getAllKnowledgeByType(Type type);

    public Knowledge getKnowledgeById(Serializable knowledgeId);

    public Integer getKnowledgeCount();
    
    
}
